<template>
	<view class="content">
		<view class="con-text">报告
			<text style="color: #fcbc54;margin: 0 10rpx;">99/次</text>
			<text style="color: #e06e50;">999/次</text>
		</view>
		<view style="margin: 16px 0;">
			<view class="label">
				<view>{{list[0].title}}</view>
				<liu-progressbar :progress="list[0].value" color="#d4d4d4" :height="'40rpx'" dsColor="#fff"
					bgColor="#f76868" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #f9f9f1">
				<view>{{list[1].title}}</view>
				<liu-progressbar :progress="list[1].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#88a44d" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #ebf9f3">
				<view>{{list[2].title}}</view>
				<liu-progressbar :progress="list[2].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#ffc572" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #fbeeee">
				<view>{{list[3].title}}</view>
				<liu-progressbar :progress="list[3].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#f76868" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #ebf9f3">
				<view>{{list[4].title}}</view>
				<liu-progressbar :progress="list[4].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#88a44d" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #f9f9f1">
				<view>{{list[5].title}}</view>
				<liu-progressbar :progress="list[5].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#ffc572" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #ebf9f3">
				<view>{{list[6].title}}</view>
				<liu-progressbar :progress="list[6].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#f76868" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #fbeeee">
				<view>{{list[7].title}}</view>
				<liu-progressbar :progress="list[7].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#88a44d" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #f9f9f1">
				<view>{{list[8].title}}</view>
				<liu-progressbar :progress="list[8].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#ffc572" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #f9f9f1">
				<view>{{list[9].title}}</view>
				<liu-progressbar :progress="list[9].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#88a44d" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #f9f9f1">
				<view>{{list[10].title}}</view>
				<liu-progressbar :progress="list[10].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#f76868" style="width: 120px;" />
			</view>
			<view class="label" style="background-color: #f9f9f1">
				<view>{{list[11].title}}</view>
				<liu-progressbar :progress="list[11].value" color="#bebebe" :height="'40rpx'" dsColor="#fff"
					bgColor="#ffc572" style="width: 120px;" />
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: []
			};
		},
		onShow() {
			this.list = uni.getStorageSync('report')
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.content {
		padding: 70rpx 20rpx 10rpx;
		text-align: center;

		.con-text {
			color: #88a44d;
			font-size: 42rpx;
		}

		.label {
			color: #948478;
			font-size: 36rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			background-color: #fbeeee;
			padding: 30rpx 20rpx;
			border-radius: 20rpx;
			margin: 30rpx 10px;
		}
	}
</style>